x86emul: vendor specific SYSCALL behavior
authorJan Beulich <jbeulich@suse.com>
Wed, 1 Apr 2020 10:32:17 +0000 (12:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 1 Apr 2020 10:32:17 +0000 (12:32 +0200)
commit78c87e41f0cdd75c847f41a2768faf41983bdf13
tree95a80ff1a7d048bd0b8f958ca72f545ba870559d
parent5d515b1c296ebad6889748ea1e49e063453216a3
x86emul: vendor specific SYSCALL behavior

AMD CPUs permit the insn everywhere (even outside of protected mode),
while Intel ones restrict it to 64-bit mode. While at it also comment
about the apparently missing CPUID bit check.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c